import http from './request';
// 登录
export const customertoken = data => {
  var ret = http.post('/api/auth/jwtcustomer/customertoken', data);
  return ret;
};
// 获取验证码
export const sendPassMsg = data => {
  var ret = http.get('/api/customer/rest/sendPassMsg?mobile=' + data);
  return ret;
};
// 获取手机号
export const getTelbyName = data => {
  var ret = http.post('/api/customer/user/getTelbyName', data);
  return ret;
};
// 密码过期重置密码
export const resetPassword = data => {
  var ret = http.post('/api/customer/user/resetPassword', data);
  return ret;
};
